<?php
namespace App\Repositories\Contracts;


interface AdminRepository {

    /**
     * @title 登录
     * @param string $account
     * @param string $password
     * @param string $code
     * @return mixed
     * Created by PhpStorm
     * User: shanshui
     * Date: 2020/4/27
     * Time: 13:42
     */
    public function login(string $account='',string $password,string $code = '');

    /**
     * @title 验证登录
     * @return mixed
     * Created by PhpStorm
     * User: shanshui
     * Date: 2020/4/28
     * Time: 15:28
     */
    public function checkLogin();

    /**
     * @title 退出登录
     * @return mixed
     * Created by PhpStorm
     * User: shanshui
     * Date: 2020/4/29
     * Time: 15:54
     */
    public function logout();


}